home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1320 / 1320.xpi / chrome / gmanager.jar / content / migrate / migrate.xml < prev    next >
Extensible Markup Language  |  2010-01-22  |  1KB  |  41 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <!-- 
  4.   Gmail Manager
  5.   By Todd Long <longfocus@gmail.com>
  6.   http://www.longfocus.com/firefox/gmanager/
  7.  -->
  8.  
  9. <bindings xmlns="http://www.mozilla.org/xbl"
  10.         xmlns:xbl="http://www.mozilla.org/xbl"
  11.         xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  12.         
  13.     <binding id="gmanager-migrate-listitem"
  14.             extends="chrome://global/content/bindings/listbox.xml#listitem">
  15.             
  16.         <content allowevents="true">
  17.             <children>
  18.                 <xul:listcell>
  19.                     <xul:checkbox anonid="checkbox"
  20.                                 checked="true"
  21.                                 xbl:inherits="label=email"/>
  22.                 </xul:listcell>
  23.                 
  24.                 <xul:listcell xbl:inherits="label=password"/>
  25.             </children>
  26.         </content>
  27.         
  28.         <implementation>
  29.             <property name="email"
  30.                     onget="return this.getAttribute('email');"
  31.                     onset="return this.setAttribute('email', val);"/>
  32.                     
  33.             <property name="password"
  34.                     onget="return this.getAttribute('password');"
  35.                     onset="return this.setAttribute('password', val);"/>
  36.                     
  37.             <property name="checked"
  38.                     onget="return document.getAnonymousElementByAttribute(this, 'anonid', 'checkbox').checked;"/>
  39.         </implementation>
  40.     </binding>
  41. </bindings>